package shell.view.components
{
	import com.hobbit.ui.viewbase.ViewLayers;
	
	import feathers.controls.Button;
	import feathers.display.Image;
	
	import flash.display.BitmapData;
	
	import starling.events.Event;
	import starling.textures.Texture;
	
	public class ShellRootView extends ViewLayers
	{
		public function ShellRootView()
		{
			super();
			
			var b:Button = new Button();
			tipsLayer.addChild(b);
			b.label = "add";
			b.addEventListener(Event.TRIGGERED, onAddTrigger);
		}
		
		private function onAddTrigger(event:Event):void
		{
			dispatchEvent(new Event("addPlz"))
		}
	}
}